home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Belgian Amiga Club - ADF Collection
/
BS1 part 60.zip
/
BS1 part 60
/
DBman d2.adf
/
RECDBF.PRG
< prev
next >
Wrap
Text File
|
1990-08-06
|
1KB
|
36 lines
set talk off
set public off
erase
text
This is the final step in converting the old database files.
Now that you have executed the SENDDBF.PRG program, you must receive
the delimited file with this program to get to the version V format.
To do this you must have the files that were exported by the SENDBF
program in the same directory as this program. The files you need are
named DBFSTRU.TXT and RECINFO.TXT. These file must be in the same
directory as this program.
endtext
wait 'Press any key...'
erase
fname = space(64)
@ 0,0 say 'Enter the name of the database when converted: ' get fname
read
fname = trim(fname)
if trim(fname) <> ''
erase xxx.dbf
? 'creating the database structure...'
create structure to xxx
use xxx
append delimited from dbfstru
close
create &fname from xxx
use &fname
? 'receiving the records from the delimited file...'
append delimited from recinfo
wait 'Conversion complete! Hit any key...'
endif
return